package com.eec.spring.ioc.Strategy.scopeStrategy;

import com.eec.spring.ioc.springEnum.ScopeType;

import java.util.HashMap;
import java.util.Map;

/**
 * @author LeeC
 * @description
 * @date 2025/7/20
 * @PACKAGE_NAME com.eec.spring.ioc.Strategy.scopeStrategy
 */
public interface ScopeStrategy {
    Map<ScopeType, ScopeStrategy> BeanIOC = new HashMap<>(){{
        put(ScopeType.SINGLETON, new SingletonStrategy());
        put(ScopeType.PROTOTYPE, new ProtoTypeStrategy());
    }};
    void createBean(Class<?> aClass);
}
